package cn.mothin.dictionary;

import org.springframework.stereotype.Component;

import cn.mothin.frame.core.annotation.Dictionary;
import cn.mothin.frame.core.base.BaseDictionary;

@Component
@Dictionary(id = Sex.Id, caption = "性别类型")
public class Sex extends BaseDictionary {
    public static final String Id = "50bc1f1097df7f499900148b";

    public static Sex MALE = new Sex("50bc1f2097df7f499900148c", "男", 0);
    public static Sex FEMALE = new Sex("50bc1f2497df7f499900148d", "女", 1);
    public static Sex UNKOWN = new Sex("50bc1f2797df7f499900148e", "未知", 2);

    public Sex() {
    }

    public Sex(String id, String caption, int ordinal) {
        super(id, caption, ordinal);
    }

    public Sex(String id, String caption, int ordinal, String memo) {
        super(id, caption, ordinal, memo);
    }
}
